package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.MChangeDetail;
import com.zhongwang.mms.gen.entity.MChangeDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MChangeDetailMapper {
    long countByExample(MChangeDetailExample example);

    int deleteByExample(MChangeDetailExample example);

    int deleteByPrimaryKey(Integer cadId);

    int insert(MChangeDetail record);

    int insertSelective(MChangeDetail record);

    List<MChangeDetail> selectByExample(MChangeDetailExample example);

    MChangeDetail selectByPrimaryKey(Integer cadId);

    int updateByExampleSelective(@Param("record") MChangeDetail record, @Param("example") MChangeDetailExample example);

    int updateByExample(@Param("record") MChangeDetail record, @Param("example") MChangeDetailExample example);

    int updateByPrimaryKeySelective(MChangeDetail record);

    int updateByPrimaryKey(MChangeDetail record);
}